package com.erp.pro.service.impl;

import com.erp.pro.dao.OutReportDao;
import com.erp.pro.domain.OutreportprojectDO;
import com.erp.pro.domain.OutreportskuDO;
import com.erp.pro.service.OutReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Auther: Eric
 * @Date: 2020-01-10 13:49
 * @Description:
 */
@Service
public class OutReportServiceImpl implements OutReportService {

    @Autowired
    private OutReportDao outReportDao;

    @Override
    public List<OutreportskuDO> listbysku(Map<String, Object> map) {
        return outReportDao.listbysku(map);
    }

    @Override
    public int countbysku(Map<String, Object> map) {
        return outReportDao.countbysku(map);
    }

    @Override
    public List<OutreportprojectDO> listbyproject(Map<String, Object> map) {
        return outReportDao.listbyproject(map);
    }

    @Override
    public int countbyproject(Map<String, Object> map) {
        return outReportDao.countbyproject(map);
    }
}
